home *** CD-ROM | disk | FTP | other *** search
/ Sunday Savers: Singing Fun! / Sunday Savers: Singing Fun!.iso / mac / Xtras / Buddy API 1.6 / Buddy API Docs.swf / texts / 1272.txt < prev    next >
Encoding:
Text File  |  2004-08-31  |  2.2 KB  |  89 lines

  1. 48
  2. --- RECORDSEPARATOR ---
  3.  
  4. --- RECORDSEPARATOR ---
  5. DisableSwitching 
  6. --- RECORDSEPARATOR ---
  7. Platform:
  8. --- RECORDSEPARATOR ---
  9.  
  10. --- RECORDSEPARATOR ---
  11. Windows
  12. --- RECORDSEPARATOR ---
  13.  
  14. --- RECORDSEPARATOR ---
  15. Description:
  16. --- RECORDSEPARATOR ---
  17.  
  18. --- RECORDSEPARATOR ---
  19. baDisableSwitching disables the task switching keys - Alt-Tab, Alt-Esc, and Ctrl- 
  20. --- RECORDSEPARATOR ---
  21. Esc. On Windows 95, the Ctrl-Alt-Del command is also disabled.
  22. --- RECORDSEPARATOR ---
  23.  
  24. --- RECORDSEPARATOR ---
  25. Usage:
  26. --- RECORDSEPARATOR ---
  27.  
  28. --- RECORDSEPARATOR ---
  29. baDisableSwitching( On )
  30. --- RECORDSEPARATOR ---
  31.  
  32. --- RECORDSEPARATOR ---
  33. Arguments:
  34. --- RECORDSEPARATOR ---
  35.  
  36. --- RECORDSEPARATOR ---
  37. Integer. 
  38. --- RECORDSEPARATOR ---
  39. If On is true, then task switching will be disabled.
  40. --- RECORDSEPARATOR ---
  41.  
  42. --- RECORDSEPARATOR ---
  43. Returns:
  44. --- RECORDSEPARATOR ---
  45.  
  46. --- RECORDSEPARATOR ---
  47. Void
  48. --- RECORDSEPARATOR ---
  49.  
  50. --- RECORDSEPARATOR ---
  51. Examples:
  52. --- RECORDSEPARATOR ---
  53.  
  54. --- RECORDSEPARATOR ---
  55. Director: 
  56. --- RECORDSEPARATOR ---
  57. baDisableSwitching( true ) 
  58. --- RECORDSEPARATOR ---
  59. Authorware: 
  60. --- RECORDSEPARATOR ---
  61. baDisableSwitching( true )
  62. --- RECORDSEPARATOR ---
  63.  
  64. --- RECORDSEPARATOR ---
  65. Notes:
  66. --- RECORDSEPARATOR ---
  67.  
  68. --- RECORDSEPARATOR ---
  69. If you disable switching, you should restore it again before your application quits. If 
  70. --- RECORDSEPARATOR ---
  71. you fail to do so, under Windows 95 the system keys will remain disabled. Under 
  72. --- RECORDSEPARATOR ---
  73. Windows 3.1, at best there will be loss of system resources; more likely, a 
  74. --- RECORDSEPARATOR ---
  75. complete system crash. 
  76. --- RECORDSEPARATOR ---
  77. For this function to work, you must first set the Director property exitLock to true. 
  78. --- RECORDSEPARATOR ---
  79. Add this code set the exitLock to true before you call this function. This will also 
  80. --- RECORDSEPARATOR ---
  81. mean that your user can not quit the application using Alt-F4, Esc, etc. 
  82. --- RECORDSEPARATOR ---
  83. Under Windows 95, if a password protected screen saver is activated after this 
  84. --- RECORDSEPARATOR ---
  85. function is called, task switching will be possible after the password has been 
  86. --- RECORDSEPARATOR ---
  87. entered. 
  88. --- RECORDSEPARATOR ---
  89. Ctrl-Alt-Delete will still be enabled under Windows NT, 2000 and XP.